import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ${USER}
 * Date: ${YEAR}-${MONTH}-${DAY}
 * Time: ${TIME}
 */
public class Main {
    public static void main(String[] args) {
        Test test = new Test();

        test.add(22);
        test.add(1446);
        test.add(99);
        test.add(7);
        test.display();
//        test.clear();
        test.display();
        System.out.println("============================");
        test.add(6,200);
        test.display();
        System.out.println("============================");
        test.add(666);
        test.display();
        System.out.println("============================");
        test.add(2,2333);
        test.display();
        System.out.println(test.contains(777));
        System.out.println(test.contains(22));
        System.out.println(test.indexOf(7));
        System.out.println(test.indexOf(6767));
        System.out.println("============================");
        boolean bl = test.remove(2333);
        System.out.println(bl);
        test.display();
        System.out.println(test.size());
        System.out.println(test.size2());

    }
}